#ifndef _CURSADERELIVERULE_H_
#define _CURSADERELIVERULE_H_
#include "MgrBase.h"
#include "SimpleRefection.h"
class CursadeReliveRule:public ReflectionBase
{
	DECL_REFLECTION(CursadeReliveRule,"../../config/CursadeReliveRule.xml");
public:
	int32			m_iID;
	std::string		m_sDisplayName;

	bool			m_bReliveCard;

	float			m_fRestoreCardHpPercent;
	int32			m_iRestroeCardHpAdd;

	float			m_fRestoreHeroHpPercent;
	int32			m_iRestroeHeroHpAdd;


	rewrite virtual void OnArchieveReaded();
private:
};

typedef DefMangerTpl<CursadeReliveRule> __CursadeReliveRuleManager; //eDefaultDef_Num
class CursadeReliveRuleManager:public __CursadeReliveRuleManager
{
public:
	static CursadeReliveRuleManager& Instance(){static CursadeReliveRuleManager _instance;return _instance;	}
	virtual void OnArchieveReaded();
private:
	CursadeReliveRuleManager(){}
};

#endif
/////////////////////////////////////////
